#! /bin/bash
HIVE_HOME=/usr/bin/hive
${HIVE_HOME} -S -e "
--分区
SET hive.exec.dynamic.partition=true;
SET hive.exec.dynamic.partition.mode=nonstrict;
set hive.exec.max.dynamic.partitions.pernode=10000;
set hive.exec.max.dynamic.partitions=100000;
set hive.exec.max.created.files=150000;"
${HIVE_HOME} -f dwd_customer_appeal.sql
${HIVE_HOME} -f dwd_customer_clue.sql
${HIVE_HOME} -f dwd_customer_relationship.sql
${HIVE_HOME} -f dwd_employee.sql
${HIVE_HOME} -f dwd_itcast_clazz.sql
${HIVE_HOME} -f dwd_scrm_department.sql
